package orm;

import java.util.Date;

/**
 * AbstractTakeexam entity provides the base persistence definition of the
 * Takeexam entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractTakeexam implements java.io.Serializable {

	// Fields

	private TakeexamId id;
	private Test test;
	private User user;
	private Integer tkstatus;
	private short grade;
	private Date taketime;

	// Constructors

	/** default constructor */
	public AbstractTakeexam() {
	}

	/** full constructor */
	public AbstractTakeexam(TakeexamId id, Test test, User user,
			Integer tkstatus, short grade, Date taketime) {
		this.id = id;
		this.test = test;
		this.user = user;
		this.tkstatus = tkstatus;
		this.grade = grade;
		this.taketime = taketime;
	}

	// Property accessors

	public TakeexamId getId() {
		return this.id;
	}

	public void setId(TakeexamId id) {
		this.id = id;
	}

	public Test getTest() {
		return this.test;
	}

	public void setTest(Test test) {
		this.test = test;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getTkstatus() {
		return this.tkstatus;
	}

	public void setTkstatus(Integer tkstatus) {
		this.tkstatus = tkstatus;
	}

	public short getGrade() {
		return this.grade;
	}

	public void setGrade(short grade) {
		this.grade = grade;
	}

	public Date getTaketime() {
		return this.taketime;
	}

	public void setTaketime(Date taketime) {
		this.taketime = taketime;
	}

}